import { post } from '@/utils/request';

interface Response {}

/**
 * @description 用户注册
 *
 * @param username 用户名称
 * @param account 用户账号
 * @param password 用户密码
 * @param mobile_phone 用户电话
 *
 * @returns
 */
export default async function registerApi(username: string, account: string, password: string, mobile_phone: string) {
  const response = await post('/api/user/register', { username, account, password, mobile_phone });
  return response;
}
